package com.wan.core.strategy;

public class StrategyLoadException extends RuntimeException {

    private static final String load_err = "策略池加载失败: %s";

    public StrategyLoadException() {
        super(String.format(load_err, "error"));
    }

    public StrategyLoadException(Throwable cause) {
        super(String.format(load_err, "error"), cause);
    }

    public StrategyLoadException(String message) {
        super(String.format(load_err, message));
    }

    public StrategyLoadException(String message, Throwable cause) {
        super(String.format(load_err, message), cause);
    }
}
